const TOKEN_KEY = 'geek_pc'

const getToken = () => { return window.localStorage.getItem(TOKEN_KEY) }
const setToken = token => {
  return window.localStorage.setItem(TOKEN_KEY, token)
}
const clearToken = () => { return window.localStorage.removeItem(TOKEN_KEY) }

export { getToken, setToken, clearToken }